<h1 class="compras_titulo_pagina"> <?php echo $titulo; ?></h1>
<div class="erro"><?php echo validation_errors(); ?></div>
<div class="erro"><?php echo $erro; ?></div>
<div class="erro"><?php echo $captcha_fail ?></div>
<div class="compras_formulario">
            <br class="clr" />
<?php echo form_open_multipart('all/a_fornecedor/cadastro_previo');?>
    <fieldset>

        <label class="compras_formulario_label">Nome* </label>
            <input type="text" name="nome" id="nome" value="<?php echo set_value('nome'); ?>" />

        <br class="clr" />

        <label class="compras_formulario_label">Sobrenome* </label>
            <input type="text" name="sobrenome" id="sobrenome" value="<?php echo set_value('sobrenome'); ?>" />

        <br class="clr" />

        <label class="compras_formulario_label">Raz&atilde;o Social* </label>
            <input type="text" name="razaosocial" id="razaosocial" value="<?php echo set_value('razaosocial'); ?>" />

        <br class="clr" />

        <label class="compras_formulario_label">CNPJ* </label>
            <input type="text" name="cnpj" id="cnpj" value="<?php echo set_value('cnpj'); ?>" />

        <br class="clr" />

        <label class="compras_formulario_label">E-mail* </label>
            <input type="text" name="email" id="email" value="<?php echo set_value('email'); ?>" />

        <br class="clr" />

        <label class="compras_formulario_label">Telefone </label>
            <input type="text" name="telefone" id="telefone" value="<?php echo set_value('telefone'); ?>" />

        <br class="clr" />

        <label class="compras_formulario_label">Mensagem* </label>
            <textarea cols="60" rows="5" name="mensagem" id="mensagem"><?php echo set_value('mensagem');?></textarea>

        <br class="clr" />
        <br class="clr" />

        <center><?php echo $cap['image'];?></center>
          <br class="clr" />
        <label class="compras_formulario_label">Digite o captcha</label>
        <input type="text" name="captcha" value="" />

        <br class="clr" />
        <br class="clr" />

        <div align="right">
            <input type="image" name="bt"
               onmouseover="this.src ='<?php echo site_url('images/botoes/enviar_on.png'); ?>'"
               onmouseout="this.src ='<?php echo site_url('images/botoes/enviar.png'); ?>'"
               src="<?php echo site_url()."images/botoes/enviar.png";?>"
               value ="Enviar"
            />
        </div>

    </fieldset>
</form>
</div>
<div class="compras_voltar"><?php echo anchor("home", "Voltar para página principal"); ?></div>